home *** CD-ROM | disk | FTP | other *** search
Wrap
SSSSGGGGEEEERRRR((((3333SSSS)))) SSSSGGGGEEEERRRR((((3333SSSS)))) NNNNAAAAMMMMEEEE SSSSGGGGEEEERRRR, DDDDGGGGEEEERRRR, CCCCGGGGEEEERRRRCCCC, ZZZZGGGGEEEERRRRCCCC, CCCCGGGGEEEERRRRUUUU, ZZZZGGGGEEEERRRRUUUU - Performs rank 1 update of a real or complex general matrix SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS Single precision Fortran: CCCCAAAALLLLLLLL SSSSGGGGEEEERRRR ((((_m,,,, _n,,,, _a_l_p_h_a,,,, _x,,,, _i_n_c_x,,,, _y,,,, _i_n_c_y,,,, _a,,,, _l_d_a)))) C/C++: ####iiiinnnncccclllluuuuddddeeee <<<<ssssccccssssllll____bbbbllllaaaassss....hhhh>>>> vvvvooooiiiidddd ssssggggeeeerrrr ((((iiiinnnntttt _m,,,, iiiinnnntttt _n,,,, ffffllllooooaaaatttt _a_l_p_h_a,,,, ffffllllooooaaaatttt *_x,,,, iiiinnnntttt _x,,,, ffffllllooooaaaatttt *_y,,,, iiiinnnntttt _y,,,, ffffllllooooaaaatttt *_a,,,, iiiinnnntttt _l_d_a))));;;; Double precision Fortran: CCCCAAAALLLLLLLL DDDDGGGGEEEERRRR ((((_m,,,, _n,,,, _a_l_p_h_a,,,, _x,,,, _i_n_c_x,,,, _y,,,, _i_n_c_y,,,, _a,,,, _l_d_a)))) C/C++: ####iiiinnnncccclllluuuuddddeeee <<<<ssssccccssssllll____bbbbllllaaaassss....hhhh>>>> vvvvooooiiiidddd ddddggggeeeerrrr ((((iiiinnnntttt _m,,,, iiiinnnntttt _n,,,, ddddoooouuuubbbblllleeee _a_l_p_h_a,,,, ddddoooouuuubbbblllleeee *_x,,,, iiiinnnntttt _x,,,, ddddoooouuuubbbblllleeee *_y,,,, iiiinnnntttt _y,,,, ddddoooouuuubbbblllleeee *_a,,,, iiiinnnntttt _l_d_a))));;;; Single precision complex Fortran: CCCCAAAALLLLLLLL CCCCGGGGEEEERRRRCCCC ((((_m,,,, _n,,,, _a_l_p_h_a,,,, _x,,,, _i_n_c_x,,,, _y,,,, _i_n_c_y,,,, _a,,,, _l_d_a)))) CCCCAAAALLLLLLLL CCCCGGGGEEEERRRRUUUU ((((_m,,,, _n,,,, _a_l_p_h_a,,,, _x,,,, _i_n_c_x,,,, _y,,,, _i_n_c_y,,,, _a,,,, _l_d_a)))) C/C++: ####iiiinnnncccclllluuuuddddeeee <<<<ssssccccssssllll____bbbbllllaaaassss....hhhh>>>> vvvvooooiiiidddd ccccggggeeeerrrrcccc ((((iiiinnnntttt _m,,,, iiiinnnntttt _n,,,, ssssccccssssllll____ccccoooommmmpppplllleeeexxxx *_a_l_p_h_a,,,, ssssccccssssllll____ccccoooommmmpppplllleeeexxxx *_x,,,, iiiinnnntttt _i_n_c_x,,,, ssssccccssssllll____ccccoooommmmpppplllleeeexxxx *_y,,,, iiiinnnntttt _i_n_c_y,,,, ssssccccssssllll____ccccoooommmmpppplllleeeexxxx *_a,,,, iiiinnnntttt _l_d_a))));;;; vvvvooooiiiidddd ccccggggeeeerrrruuuu ((((iiiinnnntttt _m,,,, iiiinnnntttt _n,,,, ssssccccssssllll____ccccoooommmmpppplllleeeexxxx *_a_l_p_h_a,,,, ssssccccssssllll____ccccoooommmmpppplllleeeexxxx *_x,,,, iiiinnnntttt _i_n_c_x,,,, ssssccccssssllll____ccccoooommmmpppplllleeeexxxx *_y,,,, iiiinnnntttt _i_n_c_y,,,, ssssccccssssllll____ccccoooommmmpppplllleeeexxxx *_a,,,, iiiinnnntttt _l_d_a))));;;; C++ STL: ####iiiinnnncccclllluuuuddddeeee <<<<ccccoooommmmpppplllleeeexxxx....hhhh>>>> ####iiiinnnncccclllluuuuddddeeee <<<<ssssccccssssllll____bbbbllllaaaassss....hhhh>>>> vvvvooooiiiidddd ccccggggeeeerrrrcccc ((((iiiinnnntttt _m,,,, iiiinnnntttt _n,,,, ccccoooommmmpppplllleeeexxxx<<<<ffffllllooooaaaatttt>>>> *_a_l_p_h_a,,,, ccccoooommmmpppplllleeeexxxx<<<<ffffllllooooaaaatttt>>>> *_x,,,, iiiinnnntttt _i_n_c_x,,,, ccccoooommmmpppplllleeeexxxx<<<<ffffllllooooaaaatttt>>>> *_y,,,, iiiinnnntttt _i_n_c_y,,,, ccccoooommmmpppplllleeeexxxx<<<<ffffllllooooaaaatttt>>>> *_a,,,, iiiinnnntttt _l_d_a))));;;; vvvvooooiiiidddd ccccggggeeeerrrruuuu ((((iiiinnnntttt _m,,,, iiiinnnntttt _n,,,, ccccoooommmmpppplllleeeexxxx<<<<ffffllllooooaaaatttt>>>> *_a_l_p_h_a,,,, ccccoooommmmpppplllleeeexxxx<<<<ffffllllooooaaaatttt>>>> *_x,,,, iiiinnnntttt _i_n_c_x,,,, ccccoooommmmpppplllleeeexxxx<<<<ffffllllooooaaaatttt>>>> *_y,,,, iiiinnnntttt _i_n_c_y,,,, ccccoooommmmpppplllleeeexxxx<<<<ffffllllooooaaaatttt>>>> *_a,,,, iiiinnnntttt _l_d_a))));;;; PPPPaaaaggggeeee 1111 SSSSGGGGEEEERRRR((((3333SSSS)))) SSSSGGGGEEEERRRR((((3333SSSS)))) Double precision complex Fortran: CCCCAAAALLLLLLLL ZZZZGGGGEEEERRRRCCCC ((((_m,,,, _n,,,, _a_l_p_h_a,,,, _x,,,, _i_n_c_x,,,, _y,,,, _i_n_c_y,,,, _a,,,, _l_d_a)))) CCCCAAAALLLLLLLL ZZZZGGGGEEEERRRRUUUU ((((_m,,,, _n,,,, _a_l_p_h_a,,,, _x,,,, _i_n_c_x,,,, _y,,,, _i_n_c_y,,,, _a,,,, _l_d_a)))) C/C++: ####iiiinnnncccclllluuuuddddeeee <<<<ssssccccssssllll____bbbbllllaaaassss....hhhh>>>> vvvvooooiiiidddd zzzzggggeeeerrrrcccc ((((iiiinnnntttt _m,,,, iiiinnnntttt _n,,,, ssssccccssssllll____zzzzoooommmmpppplllleeeexxxx *_a_l_p_h_a,,,, ssssccccssssllll____zzzzoooommmmpppplllleeeexxxx *_x,,,, iiiinnnntttt _x,,,, ssssccccssssllll____zzzzoooommmmpppplllleeeexxxx *_y,,,, iiiinnnntttt _y,,,, ssssccccssssllll____zzzzoooommmmpppplllleeeexxxx *_a,,,, iiiinnnntttt _l_d_a))));;;; vvvvooooiiiidddd zzzzggggeeeerrrruuuu ((((iiiinnnntttt _m,,,, iiiinnnntttt _n,,,, ssssccccssssllll____zzzzoooommmmpppplllleeeexxxx *_a_l_p_h_a,,,, ssssccccssssllll____zzzzoooommmmpppplllleeeexxxx *_x,,,, iiiinnnntttt _x,,,, ssssccccssssllll____zzzzoooommmmpppplllleeeexxxx *_y,,,, iiiinnnntttt _y,,,, ssssccccssssllll____zzzzoooommmmpppplllleeeexxxx *_a,,,, iiiinnnntttt _l_d_a))));;;; C++ STL: ####iiiinnnncccclllluuuuddddeeee <<<<ccccoooommmmpppplllleeeexxxx....hhhh>>>> ####iiiinnnncccclllluuuuddddeeee <<<<ssssccccssssllll____bbbbllllaaaassss....hhhh>>>> vvvvooooiiiidddd zzzzggggeeeerrrrcccc ((((iiiinnnntttt _m,,,, iiiinnnntttt _n,,,, ccccoooommmmpppplllleeeexxxx<<<<ddddoooouuuubbbblllleeee>>>> *_a_l_p_h_a,,,, ccccoooommmmpppplllleeeexxxx<<<<ddddoooouuuubbbblllleeee>>>> *_x,,,, iiiinnnntttt _x,,,, ccccoooommmmpppplllleeeexxxx<<<<ddddoooouuuubbbblllleeee>>>> *_y,,,, iiiinnnntttt _y,,,, ccccoooommmmpppplllleeeexxxx<<<<ddddoooouuuubbbblllleeee>>>> *_a,,,, iiiinnnntttt _l_d_a))));;;; void zgeru (int _m,,,, iiiinnnntttt _n,,,, ccccoooommmmpppplllleeeexxxx<<<<ddddoooouuuubbbblllleeee>>>> *_a_l_p_h_a,,,, ccccoooommmmpppplllleeeexxxx<<<<ddddoooouuuubbbblllleeee>>>> *_x,,,, iiiinnnntttt _x,,,, ccccoooommmmpppplllleeeexxxx<<<<ddddoooouuuubbbblllleeee>>>> *_y,,,, iiiinnnntttt _y,,,, ccccoooommmmpppplllleeeexxxx<<<<ddddoooouuuubbbblllleeee>>>> *_a,,,, iiiinnnntttt _l_d_a))));;;; IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN These routines are part of the SCSL Scientific Library and can be loaded using either the ----llllssssccccssss or the ----llllssssccccssss____mmmmpppp option. The ----llllssssccccssss____mmmmpppp option directs the linker to use the multi-processor version of the library. When linking to SCSL with ----llllssssccccssss or ----llllssssccccssss____mmmmpppp, the default integer size is 4 bytes (32 bits). Another version of SCSL is available in which integers are 8 bytes (64 bits). This version allows the user access to larger memory sizes and helps when porting legacy Cray codes. It can be loaded by using the ----llllssssccccssss____iiii8888 option or the ----llllssssccccssss____iiii8888____mmmmpppp option. A program may use only one of the two versions; 4-byte integer and 8-byte integer library calls cannot be mixed. The C and C++ prototypes shown above are appropriate for the 4-byte integer version of SCSL. When using the 8-byte integer version, the variables of type iiiinnnntttt become lllloooonnnngggg lllloooonnnngggg and the <<<<ssssccccssssllll____bbbbllllaaaassss____iiii8888....hhhh>>>> header file should be included. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN SSSSGGGGEEEERRRR and DDDDGGGGEEEERRRR perform a rank 1 update of a real general matrix. CCCCGGGGEEEERRRRCCCC and ZZZZGGGGEEEERRRRCCCC perform a conjugated rank 1 update of a complex general matrix. PPPPaaaaggggeeee 2222 SSSSGGGGEEEERRRR((((3333SSSS)))) SSSSGGGGEEEERRRR((((3333SSSS)))) CCCCGGGGEEEERRRRUUUU and ZZZZGGGGEEEERRRRUUUU perform an unconjugated rank 1 update of a complex general matrix. SSSSGGGGEEEERRRR, DDDDGGGGEEEERRRR, CCCCGGGGEEEERRRRUUUU, and ZZZZGGGGEEEERRRRUUUU perform the rank 1 operation: _A <- _a_l_p_h_a _x_y_T + _A where _y_T is the transpose of _y, _a_l_p_h_a is a scalar, _x is an _m-element vector, _y is an _n-element vector, and _A is an _m-by-_n matrix. CCCCGGGGEEEERRRRCCCC and ZZZZGGGGEEEERRRRCCCC perform the rank 1 operation: _A <- _a_l_p_h_a _x_y_H + _A where _y_H is the conjugate transpose of _y, _a_l_p_h_a is a scalar, _x is an _m-element vector, _y is an _n-element vector, and _A is an _m-by-_n matrix. See the NOTES section of this man page for information about the interpretation of the data types described in the following arguments. These routines have the following arguments: _m Integer. (input) Specifies the number of rows in matrix _A. _m >= 0. _n Integer. (input) Specifies the number of columns in matrix _A. _n >= 0. _a_l_p_h_a Scalar alpha. (input) SSSSGGGGEEEERRRR: Single precision. DDDDGGGGEEEERRRR: Double precision. CCCCGGGGEEEERRRRCCCC, CCCCGGGGEEEERRRRUUUU: Single precision complex. ZZZZGGGGEEEERRRRCCCC, ZZZZGGGGEEEERRRRUUUU: Double precision complex. For C/C++, a pointer to this scalar is passed when alpha is complex; otherwise, alpha is passed by value. _x Array of dimension 1+(_m-1) * |_i_n_c_x|. (input) SSSSGGGGEEEERRRR: Single precision array. DDDDGGGGEEEERRRR: Double precision array. CCCCGGGGEEEERRRRCCCC, CCCCGGGGEEEERRRRUUUU: Single precision complex array. ZZZZGGGGEEEERRRRCCCC, ZZZZGGGGEEEERRRRUUUU: Double precision complex array. Contains vector _x. _i_n_c_x Integer. (input) Specifies the increment for the elements of _x. _i_n_c_x must not be 0. _y Array of dimension 1+(_n-1) * |_i_n_c_y|. (input) SSSSGGGGEEEERRRR: Single precision array. DDDDGGGGEEEERRRR: Double precision array. CCCCGGGGEEEERRRRCCCC, CCCCGGGGEEEERRRRUUUU: Single precision complex array. PPPPaaaaggggeeee 3333 SSSSGGGGEEEERRRR((((3333SSSS)))) SSSSGGGGEEEERRRR((((3333SSSS)))) ZZZZGGGGEEEERRRRCCCC, ZZZZGGGGEEEERRRRUUUU: Double precision complex array. Contains vector _y. _i_n_c_y Integer. (input) Specifies the increment for the elements of _y. _i_n_c_y must not be 0. _a Array of dimension (_l_d_a,_n). (input and output) SSSSGGGGEEEERRRR: Single precision array. DDDDGGGGEEEERRRR: Double precision array. CCCCGGGGEEEERRRRCCCC, CCCCGGGGEEEERRRRUUUU: Single precision complex array. ZZZZGGGGEEEERRRRCCCC, ZZZZGGGGEEEERRRRUUUU: Double precision complex array. Before entry, the leading _m-by-_n part of array _a must contain the matrix of coefficients. On exit, the updated matrix overwrites array _a. _l_d_a Integer. (input) Specifies the first dimension of _a as declared in the calling program. _l_d_a >= MMMMAAAAXXXX(1,_m). NNNNOOOOTTTTEEEESSSS SSSSGGGGEEEERRRR, DDDDGGGGEEEERRRR, CCCCGGGGEEEERRRRCCCC, ZZZZGGGGEEEERRRRCCCC, CCCCGGGGEEEERRRRUUUU, and ZZZZGGGGEEEERRRRUUUU are Level 2 Basic Linear Algebra Subprograms (Level 2 BLAS). When working backward (_i_n_c_x < 0 or _i_n_c_y < 0), these routines start at the end of the vector and move backward, as follows: _x(1-_i_n_c_x * (_n-1)), _x(1-_i_n_c_x * (_n-2)) , ..., _x(1) _y(1-_i_n_c_y * (_n-1)), _y(1-_i_n_c_y * (_n-2)) , ..., _y(1) DDDDaaaattttaaaa TTTTyyyyppppeeeessss The following data types are described in this documentation: TTTTeeeerrrrmmmm UUUUsssseeeedddd DDDDaaaattttaaaa ttttyyyyppppeeee Fortran: Array dimensioned _n xxxx((((nnnn)))) Array of dimensions (_m,_n) xxxx((((mmmm,,,,nnnn)))) Character CCCCHHHHAAAARRRRAAAACCCCTTTTEEEERRRR Integer IIIINNNNTTTTEEEEGGGGEEEERRRR (IIIINNNNTTTTEEEEGGGGEEEERRRR****8888 for ----llllssssccccssss____iiii8888[[[[____mmmmpppp]]]]) Single precision RRRREEEEAAAALLLL Double precision DDDDOOOOUUUUBBBBLLLLEEEE PPPPRRRREEEECCCCIIIISSSSIIIIOOOONNNN PPPPaaaaggggeeee 4444 SSSSGGGGEEEERRRR((((3333SSSS)))) SSSSGGGGEEEERRRR((((3333SSSS)))) Single precision complex CCCCOOOOMMMMPPPPLLLLEEEEXXXX Double precision complex DDDDOOOOUUUUBBBBLLLLEEEE CCCCOOOOMMMMPPPPLLLLEEEEXXXX C/C++: Array dimensioned _n xxxx[[[[_n]]]] Array of dimensions (_m,_n) xxxx[[[[mmmm****nnnn]]]] Character cccchhhhaaaarrrr Integer iiiinnnntttt (lllloooonnnngggg lllloooonnnngggg for ----llllssssccccssss____iiii8888[[[[____mmmmpppp]]]]) Single precision ffffllllooooaaaatttt Double precision ddddoooouuuubbbblllleeee Single precision complex ssssccccssssllll____ccccoooommmmpppplllleeeexxxx Double precision complex ssssccccssssllll____zzzzoooommmmpppplllleeeexxxx C++ STL: Array dimensioned _n xxxx[[[[_n]]]] Array of dimensions (_m,_n) xxxx[[[[mmmm****nnnn]]]] Character cccchhhhaaaarrrr Integer iiiinnnntttt (lllloooonnnngggg lllloooonnnngggg for ----llllssssccccssss____iiii8888[[[[____mmmmpppp]]]]) Single precision ffffllllooooaaaatttt Double precision ddddoooouuuubbbblllleeee Single precision complex ccccoooommmmpppplllleeeexxxx<<<<ffffllllooooaaaatttt>>>> Double precision complex ccccoooommmmpppplllleeeexxxx<<<<ddddoooouuuubbbblllleeee>>>> Note that you can explicitly declare multidimensional C/C++ arrays provided that the array dimensions are swapped with respect to the Fortran declaration (e.g., xxxx[[[[nnnn]]]][[[[mmmm]]]] in C/C++ versus xxxx((((mmmm,,,,nnnn)))) in Fortran). To avoid a compiler type mismatch error in C++ (or a compiler warning message in C), however, the array should be cast to a pointer of the appropriate type when passed as an argument to a SCSL routine. SSSSEEEEEEEE AAAALLLLSSSSOOOO IIIINNNNTTTTRRRROOOO____SSSSCCCCSSSSLLLL(3S), IIIINNNNTTTTRRRROOOO____BBBBLLLLAAAASSSS2222(3S) PPPPaaaaggggeeee 5555 SSSSGGGGEEEERRRR((((3333SSSS)))) SSSSGGGGEEEERRRR((((3333SSSS)))) IIIINNNNTTTTRRRROOOO____CCCCBBBBLLLLAAAASSSS(3S) for information about using the C interface to Fortran 77 Basic Linear Algebra Subprograms (legacy BLAS) set forth by the Basic Linear Algebra Subprograms Technical Forum. PPPPaaaaggggeeee 6666